home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / gzexe.z / gzexe
Text File  |  1998-10-20  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4. GGGGZZZZEEEEXXXXEEEE((((1111))))                                                              GGGGZZZZEEEEXXXXEEEE((((1111))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      gzexe - compress executable files in place
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ggggzzzzeeeexxxxeeee [ name ...  ]
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _g_z_e_x_e utility allows you to compress executables in place and have
  16.      them automatically uncompress and execute when you run them (at a penalty
  17.      in performance).  For example if you execute ``gzexe /bin/cat'' it will
  18.      create the following two files:
  19.          -r-xr-xr-x  1 root  bin   9644 Feb 11 11:16 /bin/cat
  20.          -r-xr-xr-x  1 bin   bin  24576 Nov 23 13:21 /bin/cat~
  21.      /bin/cat~ is the original file and /bin/cat is the self-uncompressing
  22.      executable file.  You can remove /bin/cat~ once you are sure that
  23.      /bin/cat works properly.
  24.  
  25.      This utility is most useful on systems with very small disks.
  26.  
  27. OOOOPPPPTTTTIIIIOOOONNNNSSSS
  28.      ----dddd   Decompress the given executables instead of compressing them.
  29.  
  30. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  31.      gzip(1), znew(1), zmore(1), zcmp(1), zforce(1)
  32.  
  33. CCCCAAAAVVVVEEEEAAAATTTTSSSS
  34.      The compressed executable is a shell script. This may create some
  35.      security holes. In particular, the compressed executable relies on the
  36.      PATH environment variable to find _g_z_i_p and some other utilities (_t_a_i_l,
  37.      _c_h_m_o_d, _l_n, _s_l_e_e_p).
  38.  
  39. BBBBUUUUGGGGSSSS
  40.      _g_z_e_x_e attempts to retain the original file attributes on the compressed
  41.      executable, but you may have to fix them manually in some cases, using
  42.      _c_h_m_o_d or _c_h_o_w_n.
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.